<?php defined("NET2FTP") or die("Direct access to this location is not allowed."); ?>
<!-- Template /skins/india/login_small.template.php begin -->
<form name="<?php echo $formname; ?>" id="<?php echo $formname; ?>" action="<?php echo $net2ftp_globals["action_url"]; ?>" <?php echo $enctype; ?> method="post">
<?php	printLoginInfo(); ?>
<input type="hidden" name="state"     value="<?php echo $go_to_state;  ?>" />
<input type="hidden" name="state2"    value="<?php echo $go_to_state2; ?>" />
<input type="hidden" name="directory" value="<?php echo $net2ftp_globals["directory_html"]; ?>" />
<input type="hidden" name="entry"     value="<?php echo $net2ftp_globals["entry_html"]; ?>" />
<input type="hidden" name="screen"    value="<?php echo $net2ftp_globals["screen"]; ?>" />

<div style="border: 1px solid black; background-color: #DDDDDD; width: 50%; margin-left: auto; margin-right: auto; margin-top:50px; padding: 10px;">

<?php echo $message; ?><br />

<?php if ($errormessage != "") { ?>
<span style="color: red;"><?php echo $errormessage; ?></span><br />
<?php } // end if ?>

<br />

<table width="80%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr valign="middle">
		<td rowspan="2" width="20%"><?php printTitleIcon(); ?></td>
		<td><?php echo __("Username"); ?></td>
		<td><input type="text"     class="input" name="<?php echo $username_fieldname; ?>" value="<?php echo $username_value; ?>" /></td>
	</tr>
	<tr valign="middle">
		<td><?php echo __("Password"); ?></td>
		<td><input type="password" class="input" name="<?php echo $password_fieldname; ?>" value="<?php echo $password_value; ?>" /></td>
	</tr>
	<tr valign="middle">
		<td></td>
		<td colspan="2" style="text-align: center; padding-top: 10px;">
                                        <table style="background-image:url(<?php echo $net2ftp_globals["image_url"]; ?>/backgrounds/login_button_grey.gif); height: 25px; width: 110px; text-align: center;" align="center" border="0" cellpadding="0" cellspacing="0">
                                          <tbody>
                                            <tr> 
                                              <td class="txtfieldmatter" style="padding-right: 15px; padding-top: 4px; cursor: pointer; cursor: hand;" valign="top" onclick="document.LoginForm.submit();">
                                                <a href="javascript:document.LoginForm.submit();" class="txtfieldmatter" title="<?php echo __("Login"); ?> (accesskey l)" accesskey="l"><?php echo __("Login"); ?></a>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
		</td>
	</tr>

</table>
</div>
</form>
<!-- Template /skins/india/login_small.template.php end -->
